@extends('layouts.home')

@section('content')
	<!-- 内容区域 -->
	<div class="sub_page wrap">
		<div class="aside">
			<ul>
				<li class="active" data-type="education">教育培训</li>
				<li data-type="forum">峰会论坛</li>
				<li data-type="visit">企业走访</li>
				<li data-type="welfareActivity">公益活动</li>
				<li data-type="statement">省人协说法</li>
				<li data-type="HR">HR智库</li>
			</ul>
		</div>

		<div class="sub_page_context news_list">
			<div class="inner_box">
				<div class="inner show">
					<div class="title">
						<span>教育培训</span>
					</div>
					<div class="con show_circle">
						<ul>
							@foreach($item1 as $key => $item)
							<li>
								<a class="info_item" href="{{ route('article_detail',['article'=>$item->id,'action'=>'member_service']) }}">
									<div class="info_con">
										<p class="info_inner">
											<span class="info_title"> {{ mb_substr($item->title,0,42) }} </span>
											<span class="info_date">{{ \Carbon\Carbon::parse($item->created_at)->format('Y/m/d') }}</span>
										</p>
									</div>
								</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
				<div class="inner">
					<div class="title">
						<span>峰会论坛</span>
					</div>
					<div class="con">
						<ul>
							@foreach($item2 as $key => $item)
							<li>
								<a class="info_item" href="{{ route('article_detail',['article'=>$item->id,'action'=>'member_service']) }}">
									<div class="info_img"><img src="{{ asset($item->img) }}" alt=""></div>
									<div class="info_con">
										<p class="info_inner">
											<span class="info_title"> {{ mb_substr($item->title,0,42) }} </span>
											<span class="info_date">{{ \Carbon\Carbon::parse($item->created_at)->format('Y/m/d') }}</span>
										</p>
										<p class="info_summary">{!! strip_tags($item->content) !!}</p>
									</div>
								</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
				<div class="inner">
					<div class="title">
						<span>企业走访</span>
					</div>
					<div class="con">
						<ul>
							@foreach($item3 as $key => $item)
							<li>
								<a class="info_item" href="{{ route('article_detail',['article'=>$item->id,'action'=>'member_service']) }}">
									<div class="info_img"><img src="{{ asset($item->img) }}" alt=""></div>
									<div class="info_con">
										<p class="info_inner">
											<span class="info_title"> {{ mb_substr($item->title,0,42) }} </span>
											<span class="info_date">{{ \Carbon\Carbon::parse($item->created_at)->format('Y/m/d') }}</span>
										</p>
										<p class="info_summary">{!! strip_tags($item->content) !!}</p>
									</div>
								</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
				<div class="inner">
					<div class="title">
						<span>公益活动</span>
					</div>
					<div class="con">
						<ul>
							@foreach($item4 as $key => $item)
							<li>
								<a class="info_item" href="{{ route('article_detail',['article'=>$item->id,'action'=>'member_service']) }}">
									<div class="info_img"><img src="{{ asset($item->img) }}" alt=""></div>
									<div class="info_con">
										<p class="info_inner">
											<span class="info_title"> {{ mb_substr($item->title,0,42) }} </span>
											<span class="info_date">{{ \Carbon\Carbon::parse($item->created_at)->format('Y/m/d') }}</span>
										</p>
										<p class="info_summary">
											{!! strip_tags($item->content) !!}
										</p>
									</div>
								</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
				<div class="inner">
					<div class="title">
						<span>省人协说法</span>
					</div>
					<div class="con show_circle">
						<ul>
							@foreach($item5 as $key => $item)
							<li>
								<a class="info_item" href="{{ route('article_detail',['article'=>$item->id,'action'=>'member_service']) }}">
									<div class="info_con">
										<p class="info_inner">
											<span class="info_title"> {{ mb_substr($item->title,0,42) }} </span>
											<span class="info_date">{{ \Carbon\Carbon::parse($item->created_at)->format('Y/m/d') }}</span>
										</p>
									</div>
								</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
				<div class="inner">
					<div class="title">
						<span>HR智库</span>
					</div>
					<div class="con show_circle">
						<ul>
							@foreach($item6 as $key => $item)
							<li>
								<a class="info_item" href="{{ route('article_detail',['article'=>$item->id,'action'=>'member_service']) }}">
									<div class="info_con">
										<p class="info_inner">
											<span class="info_title"> {{ mb_substr($item->title,0,42) }} </span>
											<span class="info_date">{{ \Carbon\Carbon::parse($item->created_at)->format('Y/m/d') }}</span>
										</p>
									</div>
								</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>

<!-- 公共尾部 start -->
<div class="footer">
	<div class="wrap box">
		<ul class="footer_nav">
			<li><a href="">关于我们</a></li>
			<li><a href="">法律声明</a></li>
			<li><a href="">隐私条款</a></li>
			<li><a href="">版权声明</a></li>
			<li><a href="">人才招聘</a></li>
			<li><a href="">联系我们</a></li>
		</ul>
		<div class="inner">
			<div class="left">
				<p>主办方单位/版权所有：广东省人力资源管理协会</p>
				<p>备案号/经营许可证：粤ICP备18106532号</p>
				<p>
					<i class="iconfont">&#xe60a;</i>
					<span>广东省广州市海珠区琶洲大道83号宝地广场</span>
				</p>
				<p>
					<i class="iconfont">&#xe627;</i>
					<span>020-89114856</span>
				</p>
				<p>
					<i class="iconfont">&#xe62b;</i>
					<span>周一至周五9:00-18:00</span>
				</p>
			</div>
			<div class="right">
				<div class="code">
					<img src="{{ asset('home/images/code.jpg') }}" alt="">
					<p>官方订阅号</p>
				</div>
				<div class="code">
					<img src="{{ asset('home/images/code.jpg') }}" alt="">
					<p>官方服务号</p>
				</div>
			</div>
		</div>
	</div>

</div>
<!-- 公共尾部 end -->
@endsection